package com.baozun.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TWorkrecordExample {
    private Integer start;
    private Integer size;
    
    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public TWorkrecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStWorkrecordIdIsNull() {
            addCriterion("ST_WORKRECORD_ID is null");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdIsNotNull() {
            addCriterion("ST_WORKRECORD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdEqualTo(String value) {
            addCriterion("ST_WORKRECORD_ID =", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdNotEqualTo(String value) {
            addCriterion("ST_WORKRECORD_ID <>", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdGreaterThan(String value) {
            addCriterion("ST_WORKRECORD_ID >", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_WORKRECORD_ID >=", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdLessThan(String value) {
            addCriterion("ST_WORKRECORD_ID <", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdLessThanOrEqualTo(String value) {
            addCriterion("ST_WORKRECORD_ID <=", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdLike(String value) {
            addCriterion("ST_WORKRECORD_ID like", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdNotLike(String value) {
            addCriterion("ST_WORKRECORD_ID not like", value, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdIn(List<String> values) {
            addCriterion("ST_WORKRECORD_ID in", values, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdNotIn(List<String> values) {
            addCriterion("ST_WORKRECORD_ID not in", values, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdBetween(String value1, String value2) {
            addCriterion("ST_WORKRECORD_ID between", value1, value2, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStWorkrecordIdNotBetween(String value1, String value2) {
            addCriterion("ST_WORKRECORD_ID not between", value1, value2, "stWorkrecordId");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNull() {
            addCriterion("ST_USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andStUserIdIsNotNull() {
            addCriterion("ST_USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStUserIdEqualTo(String value) {
            addCriterion("ST_USER_ID =", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotEqualTo(String value) {
            addCriterion("ST_USER_ID <>", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThan(String value) {
            addCriterion("ST_USER_ID >", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID >=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThan(String value) {
            addCriterion("ST_USER_ID <", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLessThanOrEqualTo(String value) {
            addCriterion("ST_USER_ID <=", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdLike(String value) {
            addCriterion("ST_USER_ID like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotLike(String value) {
            addCriterion("ST_USER_ID not like", value, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdIn(List<String> values) {
            addCriterion("ST_USER_ID in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotIn(List<String> values) {
            addCriterion("ST_USER_ID not in", values, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdBetween(String value1, String value2) {
            addCriterion("ST_USER_ID between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStUserIdNotBetween(String value1, String value2) {
            addCriterion("ST_USER_ID not between", value1, value2, "stUserId");
            return (Criteria) this;
        }

        public Criteria andStTypeIsNull() {
            addCriterion("ST_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andStTypeIsNotNull() {
            addCriterion("ST_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andStTypeEqualTo(String value) {
            addCriterion("ST_TYPE =", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeNotEqualTo(String value) {
            addCriterion("ST_TYPE <>", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeGreaterThan(String value) {
            addCriterion("ST_TYPE >", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ST_TYPE >=", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeLessThan(String value) {
            addCriterion("ST_TYPE <", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeLessThanOrEqualTo(String value) {
            addCriterion("ST_TYPE <=", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeLike(String value) {
            addCriterion("ST_TYPE like", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeNotLike(String value) {
            addCriterion("ST_TYPE not like", value, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeIn(List<String> values) {
            addCriterion("ST_TYPE in", values, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeNotIn(List<String> values) {
            addCriterion("ST_TYPE not in", values, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeBetween(String value1, String value2) {
            addCriterion("ST_TYPE between", value1, value2, "stType");
            return (Criteria) this;
        }

        public Criteria andStTypeNotBetween(String value1, String value2) {
            addCriterion("ST_TYPE not between", value1, value2, "stType");
            return (Criteria) this;
        }
        
        public Criteria andStContactIdIsNull() {
            addCriterion("ST_CONTACT_ID is null");
            return (Criteria) this;
        }

        public Criteria andStContactIdIsNotNull() {
            addCriterion("ST_CONTACT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStContactIdEqualTo(String value) {
            addCriterion("ST_CONTACT_ID =", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotEqualTo(String value) {
            addCriterion("ST_CONTACT_ID <>", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdGreaterThan(String value) {
            addCriterion("ST_CONTACT_ID >", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdGreaterThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_ID >=", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLessThan(String value) {
            addCriterion("ST_CONTACT_ID <", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLessThanOrEqualTo(String value) {
            addCriterion("ST_CONTACT_ID <=", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdLike(String value) {
            addCriterion("ST_CONTACT_ID like", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotLike(String value) {
            addCriterion("ST_CONTACT_ID not like", value, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdIn(List<String> values) {
            addCriterion("ST_CONTACT_ID in", values, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotIn(List<String> values) {
            addCriterion("ST_CONTACT_ID not in", values, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_ID between", value1, value2, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStContactIdNotBetween(String value1, String value2) {
            addCriterion("ST_CONTACT_ID not between", value1, value2, "stContactId");
            return (Criteria) this;
        }

        public Criteria andStTitleIsNull() {
            addCriterion("ST_TITLE is null");
            return (Criteria) this;
        }

        public Criteria andStTitleIsNotNull() {
            addCriterion("ST_TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andStTitleEqualTo(String value) {
            addCriterion("ST_TITLE =", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleNotEqualTo(String value) {
            addCriterion("ST_TITLE <>", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleGreaterThan(String value) {
            addCriterion("ST_TITLE >", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleGreaterThanOrEqualTo(String value) {
            addCriterion("ST_TITLE >=", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleLessThan(String value) {
            addCriterion("ST_TITLE <", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleLessThanOrEqualTo(String value) {
            addCriterion("ST_TITLE <=", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleLike(String value) {
            addCriterion("ST_TITLE like", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleNotLike(String value) {
            addCriterion("ST_TITLE not like", value, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleIn(List<String> values) {
            addCriterion("ST_TITLE in", values, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleNotIn(List<String> values) {
            addCriterion("ST_TITLE not in", values, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleBetween(String value1, String value2) {
            addCriterion("ST_TITLE between", value1, value2, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStTitleNotBetween(String value1, String value2) {
            addCriterion("ST_TITLE not between", value1, value2, "stTitle");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelIsNull() {
            addCriterion("ST_URGENT_LEVEL is null");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelIsNotNull() {
            addCriterion("ST_URGENT_LEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelEqualTo(String value) {
            addCriterion("ST_URGENT_LEVEL =", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelNotEqualTo(String value) {
            addCriterion("ST_URGENT_LEVEL <>", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelGreaterThan(String value) {
            addCriterion("ST_URGENT_LEVEL >", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelGreaterThanOrEqualTo(String value) {
            addCriterion("ST_URGENT_LEVEL >=", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelLessThan(String value) {
            addCriterion("ST_URGENT_LEVEL <", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelLessThanOrEqualTo(String value) {
            addCriterion("ST_URGENT_LEVEL <=", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelLike(String value) {
            addCriterion("ST_URGENT_LEVEL like", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelNotLike(String value) {
            addCriterion("ST_URGENT_LEVEL not like", value, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelIn(List<String> values) {
            addCriterion("ST_URGENT_LEVEL in", values, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelNotIn(List<String> values) {
            addCriterion("ST_URGENT_LEVEL not in", values, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelBetween(String value1, String value2) {
            addCriterion("ST_URGENT_LEVEL between", value1, value2, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStUrgentLevelNotBetween(String value1, String value2) {
            addCriterion("ST_URGENT_LEVEL not between", value1, value2, "stUrgentLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelIsNull() {
            addCriterion("ST_FINISH_LEVEL is null");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelIsNotNull() {
            addCriterion("ST_FINISH_LEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelEqualTo(String value) {
            addCriterion("ST_FINISH_LEVEL =", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelNotEqualTo(String value) {
            addCriterion("ST_FINISH_LEVEL <>", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelGreaterThan(String value) {
            addCriterion("ST_FINISH_LEVEL >", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelGreaterThanOrEqualTo(String value) {
            addCriterion("ST_FINISH_LEVEL >=", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelLessThan(String value) {
            addCriterion("ST_FINISH_LEVEL <", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelLessThanOrEqualTo(String value) {
            addCriterion("ST_FINISH_LEVEL <=", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelLike(String value) {
            addCriterion("ST_FINISH_LEVEL like", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelNotLike(String value) {
            addCriterion("ST_FINISH_LEVEL not like", value, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelIn(List<String> values) {
            addCriterion("ST_FINISH_LEVEL in", values, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelNotIn(List<String> values) {
            addCriterion("ST_FINISH_LEVEL not in", values, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelBetween(String value1, String value2) {
            addCriterion("ST_FINISH_LEVEL between", value1, value2, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStFinishLevelNotBetween(String value1, String value2) {
            addCriterion("ST_FINISH_LEVEL not between", value1, value2, "stFinishLevel");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusIsNull() {
            addCriterion("ST_STORE_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusIsNotNull() {
            addCriterion("ST_STORE_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusEqualTo(String value) {
            addCriterion("ST_STORE_STATUS =", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusNotEqualTo(String value) {
            addCriterion("ST_STORE_STATUS <>", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusGreaterThan(String value) {
            addCriterion("ST_STORE_STATUS >", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusGreaterThanOrEqualTo(String value) {
            addCriterion("ST_STORE_STATUS >=", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusLessThan(String value) {
            addCriterion("ST_STORE_STATUS <", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusLessThanOrEqualTo(String value) {
            addCriterion("ST_STORE_STATUS <=", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusLike(String value) {
            addCriterion("ST_STORE_STATUS like", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusNotLike(String value) {
            addCriterion("ST_STORE_STATUS not like", value, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusIn(List<String> values) {
            addCriterion("ST_STORE_STATUS in", values, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusNotIn(List<String> values) {
            addCriterion("ST_STORE_STATUS not in", values, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusBetween(String value1, String value2) {
            addCriterion("ST_STORE_STATUS between", value1, value2, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andStStoreStatusNotBetween(String value1, String value2) {
            addCriterion("ST_STORE_STATUS not between", value1, value2, "stStoreStatus");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNull() {
            addCriterion("DT_CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIsNotNull() {
            addCriterion("DT_CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME =", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <>", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThan(Date value) {
            addCriterion("DT_CREATE_TIME >", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME >=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThan(Date value) {
            addCriterion("DT_CREATE_TIME <", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_CREATE_TIME <=", value, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotIn(List<Date> values) {
            addCriterion("DT_CREATE_TIME not in", values, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_CREATE_TIME not between", value1, value2, "dtCreateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNull() {
            addCriterion("DT_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIsNotNull() {
            addCriterion("DT_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME =", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <>", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThan(Date value) {
            addCriterion("DT_UPDATE_TIME >", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME >=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThan(Date value) {
            addCriterion("DT_UPDATE_TIME <", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("DT_UPDATE_TIME <=", value, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotIn(List<Date> values) {
            addCriterion("DT_UPDATE_TIME not in", values, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDtUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("DT_UPDATE_TIME not between", value1, value2, "dtUpdateTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_workrecord
     *
     * @mbggenerated do_not_delete_during_merge Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_workrecord
     *
     * @mbggenerated Tue Jan 20 10:24:44 CST 2015
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}